#include<stdio.h>

int main(void)
{
        int a[10];
        int i=2;
        while(i < 12)
        {
                // could cause an exception
                a[i]=20;
                i++;
                printf("idx: %d , value: %d\n",i, a[i]);
        }
        return 0;
}
